<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>手写进度条</title>
    <style>
        body {
            margin: 0;
            padding: 0;
        }

        .father {
            width: 1000px;
            height: 300px;
            margin: 0 auto;
            background-color: #ccc;
            display: flex;
            justify-content: flex-start;
            padding: 50px 0px 0px 250px;
        }

        .container {
            width: 200px;
            height: 30px;
            background-color: #fff;
            position: relative;
            display: flex;
        }

        .progress {
            width: 60%;
            height: 100%;
            position: absolute;
            background-color: skyblue;
            z-index: 10;
        }
        .value{
            height: 100%;
            width: 100%;
            text-align: center;
            position: absolute;
            z-index: 20;
        }
    </style>
</head>

<body>
    <div class="father">
        <div>进度条:</div>
        <div class="container">
            <div class="value">60%</div>
            <div class="progress"></div>
        </div>
    </div>
</body>

</html>